<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::Layer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="class_slic3r_1_1_layer.html">Layer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_slic3r_1_1_layer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::Layer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_layer_8hpp_source.html">Layer.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Slic3r::Layer:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_slic3r_1_1_layer.png" usemap="#Slic3r::Layer_map" alt=""/>
  <map id="Slic3r::Layer_map" name="Slic3r::Layer_map">
<area href="class_slic3r_1_1_support_layer.html" alt="Slic3r::SupportLayer" shape="rect" coords="0,56,128,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3d031d63fa4b34246ca1b1cbbb66b2fc"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a3d031d63fa4b34246ca1b1cbbb66b2fc">id</a> () const</td></tr>
<tr class="memdesc:a3d031d63fa4b34246ca1b1cbbb66b2fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">ID number.  <a href="#a3d031d63fa4b34246ca1b1cbbb66b2fc">More...</a><br /></td></tr>
<tr class="separator:a3d031d63fa4b34246ca1b1cbbb66b2fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4db616530040103d10d7120007735805"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a4db616530040103d10d7120007735805">set_id</a> (size_t <a class="el" href="class_slic3r_1_1_layer.html#a3d031d63fa4b34246ca1b1cbbb66b2fc">id</a>)</td></tr>
<tr class="memdesc:a4db616530040103d10d7120007735805"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setter for this-&gt;_id.  <a href="#a4db616530040103d10d7120007735805">More...</a><br /></td></tr>
<tr class="separator:a4db616530040103d10d7120007735805"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e539ca5f5b3b967089f5772f6cf8c95"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_print_object.html">PrintObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a0e539ca5f5b3b967089f5772f6cf8c95">object</a> ()</td></tr>
<tr class="memdesc:a0e539ca5f5b3b967089f5772f6cf8c95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getter for _object.  <a href="#a0e539ca5f5b3b967089f5772f6cf8c95">More...</a><br /></td></tr>
<tr class="separator:a0e539ca5f5b3b967089f5772f6cf8c95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c0e4f2129830153379aed83dd14bbda"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_slic3r_1_1_print_object.html">PrintObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a3c0e4f2129830153379aed83dd14bbda">object</a> () const</td></tr>
<tr class="separator:a3c0e4f2129830153379aed83dd14bbda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc65f8537e064abac683eb617334dd0a"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#afc65f8537e064abac683eb617334dd0a">region_count</a> () const</td></tr>
<tr class="memdesc:afc65f8537e064abac683eb617334dd0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of regions.  <a href="#afc65f8537e064abac683eb617334dd0a">More...</a><br /></td></tr>
<tr class="separator:afc65f8537e064abac683eb617334dd0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fe6a6cd98334b86c51643f530d3c001"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a6fe6a6cd98334b86c51643f530d3c001">get_region</a> (size_t idx)</td></tr>
<tr class="memdesc:a6fe6a6cd98334b86c51643f530d3c001"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a region at a specific id.  <a href="#a6fe6a6cd98334b86c51643f530d3c001">More...</a><br /></td></tr>
<tr class="separator:a6fe6a6cd98334b86c51643f530d3c001"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4259c05a03061a8c0fbd05ed9567bc8"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#ab4259c05a03061a8c0fbd05ed9567bc8">get_region</a> (size_t idx) const</td></tr>
<tr class="memdesc:ab4259c05a03061a8c0fbd05ed9567bc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a region at a specific id as const.  <a href="#ab4259c05a03061a8c0fbd05ed9567bc8">More...</a><br /></td></tr>
<tr class="separator:ab4259c05a03061a8c0fbd05ed9567bc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f9b7c9906d9ba5ec6995e8fc6676d8d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a7f9b7c9906d9ba5ec6995e8fc6676d8d">add_region</a> (<a class="el" href="class_slic3r_1_1_print_region.html">PrintRegion</a> *print_region)</td></tr>
<tr class="memdesc:a7f9b7c9906d9ba5ec6995e8fc6676d8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a <a class="el" href="class_slic3r_1_1_print_region.html">PrintRegion</a>.  <a href="#a7f9b7c9906d9ba5ec6995e8fc6676d8d">More...</a><br /></td></tr>
<tr class="separator:a7f9b7c9906d9ba5ec6995e8fc6676d8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bd36eb1605e0d10d4912ec65564838c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a3bd36eb1605e0d10d4912ec65564838c">make_slices</a> ()</td></tr>
<tr class="memdesc:a3bd36eb1605e0d10d4912ec65564838c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Merge all regions' slices to get islands.  <a href="#a3bd36eb1605e0d10d4912ec65564838c">More...</a><br /></td></tr>
<tr class="separator:a3bd36eb1605e0d10d4912ec65564838c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6af78a4c1d56d2cc10e73cf37a08010"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#aa6af78a4c1d56d2cc10e73cf37a08010">merge_slices</a> ()</td></tr>
<tr class="memdesc:aa6af78a4c1d56d2cc10e73cf37a08010"><td class="mdescLeft">&#160;</td><td class="mdescRight">Merges all of the LayerRegions' slices.  <a href="#aa6af78a4c1d56d2cc10e73cf37a08010">More...</a><br /></td></tr>
<tr class="separator:aa6af78a4c1d56d2cc10e73cf37a08010"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc8faf05eeb98b1a0cf7a0b3dafe06ff"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:acc8faf05eeb98b1a0cf7a0b3dafe06ff"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#acc8faf05eeb98b1a0cf7a0b3dafe06ff">any_internal_region_slice_contains</a> (const T &amp;item) const</td></tr>
<tr class="memdesc:acc8faf05eeb98b1a0cf7a0b3dafe06ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Template which iterates over all of the <a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a> for internally containing the argument.  <a href="#acc8faf05eeb98b1a0cf7a0b3dafe06ff">More...</a><br /></td></tr>
<tr class="separator:acc8faf05eeb98b1a0cf7a0b3dafe06ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c2777552f928c945653f11c46f552e5"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a8c2777552f928c945653f11c46f552e5"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a8c2777552f928c945653f11c46f552e5">any_bottom_region_slice_contains</a> (const T &amp;item) const</td></tr>
<tr class="memdesc:a8c2777552f928c945653f11c46f552e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Template which iterates over all of the <a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a> for containing on the bottom the argument.  <a href="#a8c2777552f928c945653f11c46f552e5">More...</a><br /></td></tr>
<tr class="separator:a8c2777552f928c945653f11c46f552e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade692e794d3a272a9b6985022eea64e9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#ade692e794d3a272a9b6985022eea64e9">make_perimeters</a> ()</td></tr>
<tr class="memdesc:ade692e794d3a272a9b6985022eea64e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the perimeters cummulatively for all layer regions sharing the same parameters influencing the perimeters.  <a href="#ade692e794d3a272a9b6985022eea64e9">More...</a><br /></td></tr>
<tr class="separator:ade692e794d3a272a9b6985022eea64e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1ee17c92786a06c955c37132b87d0ad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#ab1ee17c92786a06c955c37132b87d0ad">make_fills</a> ()</td></tr>
<tr class="memdesc:ab1ee17c92786a06c955c37132b87d0ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes fills for all the <a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a>.  <a href="#ab1ee17c92786a06c955c37132b87d0ad">More...</a><br /></td></tr>
<tr class="separator:ab1ee17c92786a06c955c37132b87d0ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee62c4af97f4708a95bf59ef27d56eb6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#aee62c4af97f4708a95bf59ef27d56eb6">detect_surfaces_type</a> ()</td></tr>
<tr class="memdesc:aee62c4af97f4708a95bf59ef27d56eb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the type of surface (top/bottombridge/bottom/internal) each region is.  <a href="#aee62c4af97f4708a95bf59ef27d56eb6">More...</a><br /></td></tr>
<tr class="separator:aee62c4af97f4708a95bf59ef27d56eb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2aec873c9c448f93919bfeacb4ce520f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a2aec873c9c448f93919bfeacb4ce520f">process_external_surfaces</a> ()</td></tr>
<tr class="memdesc:a2aec873c9c448f93919bfeacb4ce520f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Processes the external surfaces.  <a href="#a2aec873c9c448f93919bfeacb4ce520f">More...</a><br /></td></tr>
<tr class="separator:a2aec873c9c448f93919bfeacb4ce520f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a01c730472baa33af9e8a95fd24591be7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_layer.html">Layer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a01c730472baa33af9e8a95fd24591be7">upper_layer</a></td></tr>
<tr class="memdesc:a01c730472baa33af9e8a95fd24591be7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to layer above.  <a href="#a01c730472baa33af9e8a95fd24591be7">More...</a><br /></td></tr>
<tr class="separator:a01c730472baa33af9e8a95fd24591be7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff84b8f549804babf9ecaee1a49e260e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_layer.html">Layer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#aff84b8f549804babf9ecaee1a49e260e">lower_layer</a></td></tr>
<tr class="memdesc:aff84b8f549804babf9ecaee1a49e260e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to layer below.  <a href="#aff84b8f549804babf9ecaee1a49e260e">More...</a><br /></td></tr>
<tr class="separator:aff84b8f549804babf9ecaee1a49e260e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe845be2acd5ec7846b0532f1d7f63e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a032c64f1b2cab8a7308dffee4666109e">LayerRegionPtrs</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#afe845be2acd5ec7846b0532f1d7f63e1">regions</a></td></tr>
<tr class="memdesc:afe845be2acd5ec7846b0532f1d7f63e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Vector of pointers to the LayerRegions of this layer.  <a href="#afe845be2acd5ec7846b0532f1d7f63e1">More...</a><br /></td></tr>
<tr class="separator:afe845be2acd5ec7846b0532f1d7f63e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8c1c36ca34ac32a613b1a6e8811ae1f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#ac8c1c36ca34ac32a613b1a6e8811ae1f">slicing_errors</a></td></tr>
<tr class="memdesc:ac8c1c36ca34ac32a613b1a6e8811ae1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Presence of slicing errors.  <a href="#ac8c1c36ca34ac32a613b1a6e8811ae1f">More...</a><br /></td></tr>
<tr class="separator:ac8c1c36ca34ac32a613b1a6e8811ae1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a362a822860dd1965e8c6d6af14931d34"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a362a822860dd1965e8c6d6af14931d34">slice_z</a></td></tr>
<tr class="memdesc:a362a822860dd1965e8c6d6af14931d34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Z used for slicing in unscaled coordinates.  <a href="#a362a822860dd1965e8c6d6af14931d34">More...</a><br /></td></tr>
<tr class="separator:a362a822860dd1965e8c6d6af14931d34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8918ae15322de198ce6d0632feaac9b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a8918ae15322de198ce6d0632feaac9b4">print_z</a></td></tr>
<tr class="memdesc:a8918ae15322de198ce6d0632feaac9b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Z used for printing in unscaled coordinates.  <a href="#a8918ae15322de198ce6d0632feaac9b4">More...</a><br /></td></tr>
<tr class="separator:a8918ae15322de198ce6d0632feaac9b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37f53b1ef3b7fc3131f18845cd9c264a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a37f53b1ef3b7fc3131f18845cd9c264a">height</a></td></tr>
<tr class="memdesc:a37f53b1ef3b7fc3131f18845cd9c264a"><td class="mdescLeft">&#160;</td><td class="mdescRight">layer height in unscaled coordinates  <a href="#a37f53b1ef3b7fc3131f18845cd9c264a">More...</a><br /></td></tr>
<tr class="separator:a37f53b1ef3b7fc3131f18845cd9c264a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adec48fe73100a0e1e518f3329b9117ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_ex_polygon_collection.html">ExPolygonCollection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#adec48fe73100a0e1e518f3329b9117ad">slices</a></td></tr>
<tr class="separator:adec48fe73100a0e1e518f3329b9117ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a680e69592c41b3a467555d6c98b080ba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a680e69592c41b3a467555d6c98b080ba">Layer</a> (size_t <a class="el" href="class_slic3r_1_1_layer.html#a3d031d63fa4b34246ca1b1cbbb66b2fc">id</a>, <a class="el" href="class_slic3r_1_1_print_object.html">PrintObject</a> *<a class="el" href="class_slic3r_1_1_layer.html#a0e539ca5f5b3b967089f5772f6cf8c95">object</a>, <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> <a class="el" href="class_slic3r_1_1_layer.html#a37f53b1ef3b7fc3131f18845cd9c264a">height</a>, <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> <a class="el" href="class_slic3r_1_1_layer.html#a8918ae15322de198ce6d0632feaac9b4">print_z</a>, <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> <a class="el" href="class_slic3r_1_1_layer.html#a362a822860dd1965e8c6d6af14931d34">slice_z</a>)</td></tr>
<tr class="memdesc:a680e69592c41b3a467555d6c98b080ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a680e69592c41b3a467555d6c98b080ba">More...</a><br /></td></tr>
<tr class="separator:a680e69592c41b3a467555d6c98b080ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b0fd0b0067da4ab31e6050903574047"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a3b0fd0b0067da4ab31e6050903574047">~Layer</a> ()</td></tr>
<tr class="memdesc:a3b0fd0b0067da4ab31e6050903574047"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a3b0fd0b0067da4ab31e6050903574047">More...</a><br /></td></tr>
<tr class="separator:a3b0fd0b0067da4ab31e6050903574047"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba87101410ee8e2d1d153f1dd4a6e5cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#aba87101410ee8e2d1d153f1dd4a6e5cc">clear_regions</a> ()</td></tr>
<tr class="memdesc:aba87101410ee8e2d1d153f1dd4a6e5cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes all regions.  <a href="#aba87101410ee8e2d1d153f1dd4a6e5cc">More...</a><br /></td></tr>
<tr class="separator:aba87101410ee8e2d1d153f1dd4a6e5cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a205d6e3ba15287329bedfdcefd79b170"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a205d6e3ba15287329bedfdcefd79b170">delete_region</a> (int idx)</td></tr>
<tr class="memdesc:a205d6e3ba15287329bedfdcefd79b170"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes a specific region.  <a href="#a205d6e3ba15287329bedfdcefd79b170">More...</a><br /></td></tr>
<tr class="separator:a205d6e3ba15287329bedfdcefd79b170"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ae3316866c7501182fcc89b887e731164"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#ae3316866c7501182fcc89b887e731164">_id</a></td></tr>
<tr class="memdesc:ae3316866c7501182fcc89b887e731164"><td class="mdescLeft">&#160;</td><td class="mdescRight">sequential number of layer, 0-based  <a href="#ae3316866c7501182fcc89b887e731164">More...</a><br /></td></tr>
<tr class="separator:ae3316866c7501182fcc89b887e731164"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fd4788d3132b4fc2e54ea7bb07a6660"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_print_object.html">PrintObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a1fd4788d3132b4fc2e54ea7bb07a6660">_object</a></td></tr>
<tr class="memdesc:a1fd4788d3132b4fc2e54ea7bb07a6660"><td class="mdescLeft">&#160;</td><td class="mdescRight">Associated <a class="el" href="class_slic3r_1_1_print_object.html">PrintObject</a>.  <a href="#a1fd4788d3132b4fc2e54ea7bb07a6660">More...</a><br /></td></tr>
<tr class="separator:a1fd4788d3132b4fc2e54ea7bb07a6660"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a836e37e4dd0da9377e41b8deb706070b"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer.html#a836e37e4dd0da9377e41b8deb706070b">PrintObject</a></td></tr>
<tr class="separator:a836e37e4dd0da9377e41b8deb706070b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a680e69592c41b3a467555d6c98b080ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a680e69592c41b3a467555d6c98b080ba">&#9670;&nbsp;</a></span>Layer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::Layer::Layer </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_print_object.html">PrintObject</a> *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td>
          <td class="paramname"><em>print_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td>
          <td class="paramname"><em>slice_z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>
<p>Initialises upper_layer, lower_layer to NULL Initialises slicing_errors to false </p>

</div>
</div>
<a id="a3b0fd0b0067da4ab31e6050903574047"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b0fd0b0067da4ab31e6050903574047">&#9670;&nbsp;</a></span>~Layer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::Layer::~Layer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destructor. </p>
<p>Removes references to self and clears regions. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a7f9b7c9906d9ba5ec6995e8fc6676d8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f9b7c9906d9ba5ec6995e8fc6676d8d">&#9670;&nbsp;</a></span>add_region()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a> * Slic3r::Layer::add_region </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_print_region.html">PrintRegion</a> *&#160;</td>
          <td class="paramname"><em>print_region</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a <a class="el" href="class_slic3r_1_1_print_region.html">PrintRegion</a>. </p>
<p>Creates a <a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a> from a <a class="el" href="class_slic3r_1_1_print_region.html">PrintRegion</a> and adds it to this-&gt;regions. </p>

</div>
</div>
<a id="a8c2777552f928c945653f11c46f552e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c2777552f928c945653f11c46f552e5">&#9670;&nbsp;</a></span>any_bottom_region_slice_contains()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">template bool Slic3r::Layer::any_bottom_region_slice_contains&lt; <a class="el" href="class_slic3r_1_1_polyline.html">Polyline</a> &gt; </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Template which iterates over all of the <a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a> for containing on the bottom the argument. </p>
<p>Uses LayerRegion-&gt;slices.any_bottom_contains(item) </p>

</div>
</div>
<a id="acc8faf05eeb98b1a0cf7a0b3dafe06ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc8faf05eeb98b1a0cf7a0b3dafe06ff">&#9670;&nbsp;</a></span>any_internal_region_slice_contains()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">template bool Slic3r::Layer::any_internal_region_slice_contains&lt; <a class="el" href="class_slic3r_1_1_polyline.html">Polyline</a> &gt; </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Template which iterates over all of the <a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a> for internally containing the argument. </p>
<p>Uses LayerRegion-&gt;slices.any_internal_contains(item) </p>

</div>
</div>
<a id="aba87101410ee8e2d1d153f1dd4a6e5cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba87101410ee8e2d1d153f1dd4a6e5cc">&#9670;&nbsp;</a></span>clear_regions()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Layer::clear_regions </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deletes all regions. </p>
<p>Deletes all regions using this-&gt;<a class="el" href="class_slic3r_1_1_layer.html#a205d6e3ba15287329bedfdcefd79b170" title="Deletes a specific region. ">delete_region()</a> </p>

</div>
</div>
<a id="a205d6e3ba15287329bedfdcefd79b170"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a205d6e3ba15287329bedfdcefd79b170">&#9670;&nbsp;</a></span>delete_region()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Layer::delete_region </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deletes a specific region. </p>
<p>Deletes an individual region. </p>

</div>
</div>
<a id="aee62c4af97f4708a95bf59ef27d56eb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee62c4af97f4708a95bf59ef27d56eb6">&#9670;&nbsp;</a></span>detect_surfaces_type()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Layer::detect_surfaces_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines the type of surface (top/bottombridge/bottom/internal) each region is. </p>
<p>Analyzes slices of a region (<a class="el" href="class_slic3r_1_1_surface_collection.html">SurfaceCollection</a> slices). Each region slice (instance of <a class="el" href="class_slic3r_1_1_surface.html">Surface</a>) is analyzed, whether it is supported or whether it is the top surface. Initially all slices are of type S_TYPE_INTERNAL. Slices are compared against the top / bottom slices and regions and classified to the following groups: S_TYPE_TOP - Part of a region, which is not covered by any upper layer. This surface will be filled with a top solid infill. S_TYPE_BOTTOMBRIDGE - Part of a region, which is not fully supported, but it hangs in the air, or it hangs losely on a support or a raft. S_TYPE_BOTTOM - Part of a region, which is not supported by the same region, but it is supported either by another region, or by a soluble interface layer. S_TYPE_INTERNAL - Part of a region, which is supported by the same region type. If a part of a region is of S_TYPE_BOTTOM and S_TYPE_TOP, the S_TYPE_BOTTOM wins. </p>

</div>
</div>
<a id="a6fe6a6cd98334b86c51643f530d3c001"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6fe6a6cd98334b86c51643f530d3c001">&#9670;&nbsp;</a></span>get_region() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a>* Slic3r::Layer::get_region </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets a region at a specific id. </p>

</div>
</div>
<a id="ab4259c05a03061a8c0fbd05ed9567bc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4259c05a03061a8c0fbd05ed9567bc8">&#9670;&nbsp;</a></span>get_region() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a>* Slic3r::Layer::get_region </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets a region at a specific id as const. </p>

</div>
</div>
<a id="a3d031d63fa4b34246ca1b1cbbb66b2fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d031d63fa4b34246ca1b1cbbb66b2fc">&#9670;&nbsp;</a></span>id()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t Slic3r::Layer::id </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ID number. </p>
<p>Getter for this-&gt;_id. </p>

</div>
</div>
<a id="ab1ee17c92786a06c955c37132b87d0ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1ee17c92786a06c955c37132b87d0ad">&#9670;&nbsp;</a></span>make_fills()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Layer::make_fills </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Makes fills for all the <a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a>. </p>
<p>Iterates over all of the <a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a> and invokes LayerRegion-&gt;make_fill() Asserts that the fills created are not NULL </p>

</div>
</div>
<a id="ade692e794d3a272a9b6985022eea64e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade692e794d3a272a9b6985022eea64e9">&#9670;&nbsp;</a></span>make_perimeters()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Layer::make_perimeters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates the perimeters cummulatively for all layer regions sharing the same parameters influencing the perimeters. </p>
<p>The perimeter paths and the thin fills (<a class="el" href="class_slic3r_1_1_extrusion_entity_collection.html">ExtrusionEntityCollection</a>) are assigned to the first compatible layer region. The resulting fill surface is split back among the originating regions. </p>

</div>
</div>
<a id="a3bd36eb1605e0d10d4912ec65564838c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bd36eb1605e0d10d4912ec65564838c">&#9670;&nbsp;</a></span>make_slices()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Layer::make_slices </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Merge all regions' slices to get islands. </p>

</div>
</div>
<a id="aa6af78a4c1d56d2cc10e73cf37a08010"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6af78a4c1d56d2cc10e73cf37a08010">&#9670;&nbsp;</a></span>merge_slices()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Layer::merge_slices </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Merges all of the LayerRegions' slices. </p>
<p>Iterates over all of the <a class="el" href="class_slic3r_1_1_layer_region.html">LayerRegion</a> and invokes LayerRegion-&gt;<a class="el" href="class_slic3r_1_1_layer.html#aa6af78a4c1d56d2cc10e73cf37a08010" title="Merges all of the LayerRegions&#39; slices. ">merge_slices()</a> </p>

</div>
</div>
<a id="a0e539ca5f5b3b967089f5772f6cf8c95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e539ca5f5b3b967089f5772f6cf8c95">&#9670;&nbsp;</a></span>object() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_print_object.html">PrintObject</a>* Slic3r::Layer::object </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Getter for _object. </p>

</div>
</div>
<a id="a3c0e4f2129830153379aed83dd14bbda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c0e4f2129830153379aed83dd14bbda">&#9670;&nbsp;</a></span>object() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_slic3r_1_1_print_object.html">PrintObject</a>* Slic3r::Layer::object </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a2aec873c9c448f93919bfeacb4ce520f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2aec873c9c448f93919bfeacb4ce520f">&#9670;&nbsp;</a></span>process_external_surfaces()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Layer::process_external_surfaces </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Processes the external surfaces. </p>
<p>Iterates over all LayerRegions and invokes LayerRegion-&gt;process_external_surfaces. </p>

</div>
</div>
<a id="afc65f8537e064abac683eb617334dd0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc65f8537e064abac683eb617334dd0a">&#9670;&nbsp;</a></span>region_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t Slic3r::Layer::region_count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of regions. </p>
<p>Getter for this-&gt;regions.size() </p>

</div>
</div>
<a id="a4db616530040103d10d7120007735805"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4db616530040103d10d7120007735805">&#9670;&nbsp;</a></span>set_id()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Layer::set_id </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Setter for this-&gt;_id. </p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a836e37e4dd0da9377e41b8deb706070b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a836e37e4dd0da9377e41b8deb706070b">&#9670;&nbsp;</a></span>PrintObject</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="class_slic3r_1_1_print_object.html">PrintObject</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ae3316866c7501182fcc89b887e731164"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3316866c7501182fcc89b887e731164">&#9670;&nbsp;</a></span>_id</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t Slic3r::Layer::_id</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>sequential number of layer, 0-based </p>

</div>
</div>
<a id="a1fd4788d3132b4fc2e54ea7bb07a6660"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fd4788d3132b4fc2e54ea7bb07a6660">&#9670;&nbsp;</a></span>_object</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_print_object.html">PrintObject</a>* Slic3r::Layer::_object</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Associated <a class="el" href="class_slic3r_1_1_print_object.html">PrintObject</a>. </p>

</div>
</div>
<a id="a37f53b1ef3b7fc3131f18845cd9c264a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37f53b1ef3b7fc3131f18845cd9c264a">&#9670;&nbsp;</a></span>height</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> Slic3r::Layer::height</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>layer height in unscaled coordinates </p>

</div>
</div>
<a id="aff84b8f549804babf9ecaee1a49e260e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff84b8f549804babf9ecaee1a49e260e">&#9670;&nbsp;</a></span>lower_layer</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_layer.html">Layer</a>* Slic3r::Layer::lower_layer</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pointer to layer below. </p>

</div>
</div>
<a id="a8918ae15322de198ce6d0632feaac9b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8918ae15322de198ce6d0632feaac9b4">&#9670;&nbsp;</a></span>print_z</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> Slic3r::Layer::print_z</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Z used for printing in unscaled coordinates. </p>

</div>
</div>
<a id="afe845be2acd5ec7846b0532f1d7f63e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe845be2acd5ec7846b0532f1d7f63e1">&#9670;&nbsp;</a></span>regions</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#a032c64f1b2cab8a7308dffee4666109e">LayerRegionPtrs</a> Slic3r::Layer::regions</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Vector of pointers to the LayerRegions of this layer. </p>

</div>
</div>
<a id="a362a822860dd1965e8c6d6af14931d34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a362a822860dd1965e8c6d6af14931d34">&#9670;&nbsp;</a></span>slice_z</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> Slic3r::Layer::slice_z</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Z used for slicing in unscaled coordinates. </p>

</div>
</div>
<a id="adec48fe73100a0e1e518f3329b9117ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adec48fe73100a0e1e518f3329b9117ad">&#9670;&nbsp;</a></span>slices</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_ex_polygon_collection.html">ExPolygonCollection</a> Slic3r::Layer::slices</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>collection of expolygons generated by slicing the original geometry; also known as 'islands' (all regions and surface types are merged here) </p>

</div>
</div>
<a id="ac8c1c36ca34ac32a613b1a6e8811ae1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8c1c36ca34ac32a613b1a6e8811ae1f">&#9670;&nbsp;</a></span>slicing_errors</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Layer::slicing_errors</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Presence of slicing errors. </p>

</div>
</div>
<a id="a01c730472baa33af9e8a95fd24591be7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01c730472baa33af9e8a95fd24591be7">&#9670;&nbsp;</a></span>upper_layer</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_layer.html">Layer</a>* Slic3r::Layer::upper_layer</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pointer to layer above. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/<a class="el" href="_layer_8hpp_source.html">Layer.hpp</a></li>
<li>src/libslic3r/<a class="el" href="_layer_8cpp.html">Layer.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
